<?php
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'basic';
$return=array();
/*******basic*******/
if($_RQ['op']=='basic'){
	if($_RQ['postdata']){
		$post=get_postdata();
		$this->plugin_setting('basic',$post);
		exi('设置成功！');
	}
	$return['item']=$this->plugin_setting('basic');
	$return['htmls']=array('type'=>'edit','edit'=>array(
		array('title'=>'版权信息','help'=>'设置页面底部版权信息','name'=>'copyright','type'=>'string',),
	),);

	set_html('title','基本设置');
	$tabs=array(
		array('title'=>'基本设置','op'=>'basic','action'=>'setting',),
	);
	set_html('tabs',$tabs);
	exi($return);
}
/*******basic*******/
/*******op*******/
exi('访问的页面功能不存在！','error');